@import '@/assets/css/index.less';

body {
	background:#f6f6f6;
}

.user-auth-page{
	.flex-center-center();
	flex-direction: column;
	padding-top: 20vh;
}

.login-auth-box{
	border: 1px solid #EEE;
	width: 550px;
	border-radius: 5px;
	box-shadow: 0px 20px 40px 0px rgba( 0, 0, 0, 0.08);
	position: relative;
	background: white;

	.login-auth-tab-list{
		position: absolute;
    top: 0;
    left: 0;
    width: 100%;
		.flex-center-start();

		.tab-item{
			width: 50%;
			height: 32px;
			line-height: 32px;
			text-align: center;
			font-size: 12px;
			color: white;
			font-weight: bold;
			cursor: pointer;
			user-select: none;
		}

		.tab-item-select{
			color: #262336;
		}
	}

	.auth-group-input{
		margin: 140px 100px 0;
	}

	.auth-group-register{
		margin: 20px 110px 0;
	}

	.input-group{
		height: 60px;
		overflow: hidden;
	}

	.input-box{
		padding: 10px;
		.flex-center-start();

		.input-title{
			white-space: nowrap;
			font-size: 14px;
			color: #353535;
			margin-right: 10px;
			width: 60px;
			text-align: justify;
			text-align-last: justify;
		}
	}

	.login-btn{
		margin-bottom: 50px;
		margin-top: 50px;

		.el-button{
			width: 330px;
		}

		.change-type{
			width: 100%;
			text-align: center;
			cursor: pointer;
			margin-top: 20px;
			color: #9fa2a8;
			font-size: 12px;
			.flex-center-center();
		}
	}
}

// 上移动画
.input-slide-up {
  animation: slide-up 0.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes slide-up {
  0% {		transform: translateY(0px);}
  100% {transform: translateY(-60px);}
}

// 下移动画
.input-slide-down {
  animation: slide-down 0.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes slide-down {
  0% {		transform: translateY(-60px);}
  100% {transform: translateY(0px);}
}

@media screen and (max-width: 1023px) {
	.login-auth-box{
		width: 320px;

		.login-auth-tab-list{
			.tab-item{
				font-weight: none;
			}
		}

		.auth-group-input{
			margin: 140px 30px 0;
		}

		.input-box{
			padding: 10px;
			.flex-center-start();
	
			.input-title{
				font-size: 12px;
				width: 40px;
			}
		}
		
		.auth-group-register{
			margin: 20px 50px 0;
		}

		.login-btn{
			margin-bottom: 50px;
			margin-top: 50px;

			.el-button{
				width: 230px;
				padding: 10px 20px;
				font-size: 12px;
			}
		}
	}
}